- if @result.destroyed?
  $('.result-list tbody tr#result_#{@result.id}').remove();
- else
  alert('Something wrong, delete failed.');
